package com.masterclient.app.businessmodule.usermodule.login.contract;

import android.support.annotation.NonNull;

import com.eoner.baselib.presenter.FCBasePresenter;
import com.eoner.baselib.presenter.IFCBaseView;
import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.masterclient.app.businessmodule.usermodule.login.beans.AuthBindData;
import com.masterclient.app.businessmodule.usermodule.login.beans.InviteInfoData;
import com.masterclient.app.businessmodule.usermodule.login.beans.LoginSuccessData;
import com.masterclient.app.modules.income.model.HomeDataBean;

/**
 * 作者：sean
 * 创建时间：2017/7/18 19:10
 * 功能说明：
 */

public interface LoginContract {

    interface View extends IFCBaseView {
        void sendSmsSuccess();
        void sendSmsFailed(String msg);

        void loginSuccess(LoginSuccessData data);
        void loginFailed(String msg);
    }


    abstract static class Presenter extends FCBasePresenter<LoginContract.View> {
        public abstract void sendSms(@NonNull String phone);
        public abstract void login(@NonNull String phone,@NonNull String code);
    }
}